package model;

import java.io.IOException;
//a sprayk ososztalya
public abstract class Spray {
	public int capacity;
	float range;
	Game game;
	double loc_x;
	double loc_y;
	public abstract void useSpray(double x,double y) throws IOException;
	//alapkonstuktor
	public Spray(){
	}
	//a spray adott helyre fuj
	public void setLocation(float x,float y){
		loc_x=x;
		loc_y=y;
	}
	
	public double get_x(){
		return loc_x;
	}
	
	public double get_y(){
		return loc_y;
	}

}
